package com.he.heblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 余生
 * @since 2023-04-06
 */
public class Childlist implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 子评论表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 评论所属用户
     */
    private Integer userID;

    /**
     * 评论所属文章
     */
    private Integer articleID;

    /**
     * 	评论所属楼层
     */
    private Integer floor;

    /**
     * 评论发布时间
     */
    private LocalDateTime publicTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }
    public Integer getArticleID() {
        return articleID;
    }

    public void setArticleID(Integer articleID) {
        this.articleID = articleID;
    }
    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }
    public LocalDateTime getPublicTime() {
        return publicTime;
    }

    public void setPublicTime(LocalDateTime publicTime) {
        this.publicTime = publicTime;
    }

    @Override
    public String toString() {
        return "Childlist{" +
            "id=" + id +
            ", content=" + content +
            ", userID=" + userID +
            ", articleID=" + articleID +
            ", floor=" + floor +
            ", publicTime=" + publicTime +
        "}";
    }
}
